package com.study.thread.poll;

import java.util.Random;
import java.util.concurrent.Callable;

/**
 * @author mjy
 * @date 2021/11/26
 * @description
 */
public class ThreadPool implements Callable<Integer> {


    @Override
    public Integer call() throws Exception {
        System.out.println("callable do somothing");
        Thread.sleep(5);
        return new Random().nextInt(100);
    }


}
